package top.raoqq.sky.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import top.raoqq.sky.entity.sql.User;

import java.time.LocalDate;

/**
 * @author 饶奇奇
 * @date 2023/8/12
 */
public interface UserService extends IService<User> {

    void listUserPageCondition(Page<User> page, String username, String phone, Byte status, LocalDate startTime, LocalDate endTime);

    void saveOrUpdateUser(User user);

    void switchUserStatus(Long userId, Byte status);
}
